package com.zxl.gulimall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 1、整合MyBatis-Plus
 *  1）导入依赖
 *  2）配置
 *      a.配置数据源
 *      b.在application.yml配置数据源的相关信息
 *      c.使用@MapperScan
 *      d.告诉SQL映射文件的位置
 *
 *
 */

@MapperScan("com.zxl.gulimall.product.dao")
@SpringBootApplication
public class GulimallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }

}